Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attempts to fix the failing specs for shares_controller_spec. #6411

Merged
merged 2 commits into from
Nov 2, 2023

Conversation

bwatson78
Copy link
Contributor

Fixes

Fixes rspec failures for spec/controllers/hyrax/my/shares_controller_spec.rb.

Type of change (for release notes)

  • notes-valkyrie Valkyrie Progress

Detailed Description

Swaps out AF factory objects with Valkyrie Monographs.

@samvera/hyrax-code-reviewers

@bwatson78 bwatson78 added the notes-valkyrie Release Notes: Valkyrie specific label Nov 1, 2023
@bwatson78 bwatson78 self-assigned this Nov 1, 2023
@dlpierce
Copy link
Contributor

dlpierce commented Nov 2, 2023

After looking at this spec closer, I see let! was being used to create other documents that should be filtered out from this view. I moved them to a context so they only get created once when they are needed.

@dlpierce dlpierce merged commit c4cb029 into main Nov 2, 2023
4 checks passed
@dlpierce dlpierce deleted the fixes_shares_controller_spec branch November 2, 2023 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
notes-valkyrie Release Notes: Valkyrie specific
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants